package com.yydm.serviceacls.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 角色实体类
 */
@Data
@TableName(value = "role", autoResultMap = true)
@ApiModel(value = "角色对象id")
public class Role {
    /**
     * 主键
     */
    @ApiModelProperty(value = "id",required = true)
    private Long id;

    @ApiModelProperty(value = "角色名称",required = true)
    private String name;

    @ApiModelProperty(value = "角色描述",required = true)
    private String description;


}
